﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HGZP.DAL
{
    public class MyParameter
    {
         private string operationGuid = string.Empty;//Guid属性
         private string operationLoginNumber = string.Empty;//登录号
         private string operationLoginPassWord = string.Empty; //登录口令
         private string operationName = string.Empty; //真实姓名
         private string operationIP = string.Empty;//IP地址
         private string operationMAC = string.Empty; //MAC地址
        //
      
         private string saveLoginNameFlag = "false";//保存登录名
        //权限字符串
         private List<string> menuList = new List<string>();//菜单权限
         private string sRangeQueryPermissionsOrder = string.Empty;//订单查询范围权限
         private string sRangeQueryPermissionsLog = string.Empty;//日志查询范围权限
        //
         private string ownDepartmentName = string.Empty;//我所在的部门名称
         private string ownDepartmentSubName = string.Empty;//我所在的支部门名称
         private string ownEmployeeName = string.Empty;//默认的业务员名称
         private string ownEmployeeLeaderName = string.Empty;//默认的立项人名称
        //
         private string ownDepartmentGuid = string.Empty;//我所在的部门Guid
         private string ownDepartmentSubGuid = string.Empty;//我所在的支部门Guid
         private string ownEmployeeGuid = string.Empty;//默认的业务员Guid
         private string ownEmployeeLeaderGuid = string.Empty;//默认的立项人Guid
         public string sTempString = "false";//根据哪个页面传输不同的数据
         public bool sCurrentString = false;//最终为了区分服务器列表跟当前监控的页面导向问题 
        //真实姓名
         public string OperationName
        {
            get { return operationName; }
            set { operationName = value; }
        }
        //Guid属性
          public string OperationGuid
        {
            get { return operationGuid; }
            set { operationGuid = value; }
        }
        //登录号
         public string OperationLoginNumber
        {
            get { return operationLoginNumber; }
            set { operationLoginNumber = value; }
        }
        //登录口令
        public   string OperationLoginPassWord
        {
            get { return operationLoginPassWord; }
            set { operationLoginPassWord = value; }
        }
        //IP地址
          public string OperationIP
        {
            get { return operationIP; }
            set { operationIP = value; }
        }
        //MAC地址
          public string OperationMAC
        {
            get { return operationMAC; }
            set { operationMAC = value; }
        }
       
        //保存登录名
          public string SaveLoginNameFlag
        {
            get { return saveLoginNameFlag; }
            set { saveLoginNameFlag = value; }
        }
        //我所在的部门名称
        public   string OwnDepartmentName
        {
            get { return ownDepartmentName; }
            set { ownDepartmentName = value; }
        }
        //我所在的支部门名称
        public   string OwnDepartmentSubName
        {
            get { return ownDepartmentSubName; }
            set { ownDepartmentSubName = value; }
        }
        //默认的业务员名称
        public   string OwnEmployeeName
        {
            get { return ownEmployeeName; }
            set { ownEmployeeName = value; }
        }
        //默认的立项人名称
        public   string OwnEmployeeLeaderName
        {
            get { return ownEmployeeLeaderName; }
            set { ownEmployeeLeaderName = value; }
        }
        //我所在的部门Guid
        public   string OwnDepartmentGuid
        {
            get { return  ownDepartmentGuid; }
            set {  ownDepartmentGuid = value; }
        }
        //我所在的支部门Guid
        public   string OwnDepartmentSubGuid
        {
            get { return  ownDepartmentSubGuid; }
            set {  ownDepartmentSubGuid = value; }
        }
        //默认的业务员Guid
        public   string OwnEmployeeGuid
        {
            get { return  ownEmployeeGuid; }
            set {  ownEmployeeGuid = value; }
        }
        //默认的立项人Guid
        public   string OwnEmployeeLeaderGuid
        {
            get { return  ownEmployeeLeaderGuid; }
            set {  ownEmployeeLeaderGuid = value; }
        }
        //菜单权限
        public   List<string> MenuList
        {
            get { return  menuList; }
            set {  menuList = value; }
        }
        //查询范围权限
        public   string SRangeQueryPermissionsOrder
        {
            get { return  sRangeQueryPermissionsOrder; }
            set {  sRangeQueryPermissionsOrder = value; }
        }
        //日志查询范围权限
        public   string SRangeQueryPermissionsLog
        {
            get { return  sRangeQueryPermissionsLog; }
            set {  sRangeQueryPermissionsLog = value; }
        }
    }
}
